woerter = {}

fobj = open("woerterbuch.txt", "r")

for line in fobj:
    line = line.strip()
    zuordnung = line.split(" ")
    woerter[zuordnung[0]] = zuordnung[1]

fobj.close()

wort = ""
while True:
    wort = input("Geben Sie ein Wort ein: ")
    if wort in woerter:
        print("Das deutsche Wort lautet:", woerter[wort])
    elif wort == "exit":
        break
    else:
        print("Das Wort ist unbekannt")

print()
print("Ende!!")